import {  useEffect } from 'react'
import {  useSelector } from 'react-redux';
import { ConfigProvider } from 'antd';
import LayoutIndex from "@/layout"
import { theme } from 'antd';
// import {action2} from "/redux/actions/CountActions"
// import { LhuserInfoWxLogin } from '/api'

function App() {
	// const reduxData = useSelector(state => {
	// 	return state.Appearance.select
	// })
	useEffect(() => {
		// console.log('reduxData',reduxData.select)
	}, [])
	// const dispatch = useDispatch()
	// const incrData = () => {
	// 	dispatch({ type: 'jians', value: 10 })
	// }
	// console.log('reduxDatareduxDatareduxData',reduxData)



	// const [count, setCount] = useState(0)
	// console.log('import.meta.env', import.meta.env.VITE_BASE_URL)

	return (
		// <ConfigProvider theme={{
		// 	token: {
		// 		algorithm: theme.darkAlgorithm,
		// 		// Seed Token，影响范围大
		// 		colorPrimary: reduxData.subjectColor
		// 	},
		// }}>

			<>
			<LayoutIndex />
			</>
		// </ConfigProvider>
	)
}


export default App
